/* pages/basket/basket.wxss */

page {
  width: 100%;
  height: auto;
  background: #f2f2f2;
}
.container {
  padding-bottom: 110rpx;
  background-color: #f2f2f2;
}
.container .prod-list {
  width: 100%;
  background: #f2f2f2;
  padding-top: 1rpx;
}
/* #ifdef MP-WEIXIN */
.prod-list {
  padding-bottom: 118rpx;
}
/* #endif */
.prod-list .prod-block.discount .goods-item {
  position: relative;
}
.goods-item {
  margin: 10rpx 10rpx;
  .item {
    padding: 20rpx 10rpx;
    border-radius: 23rpx 23rpx 23rpx 23rpx;
  }
}
.prod-list .prod-block.discount .goods-item::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed #e5e5e5;
  z-index: 0;
}
.prod-list .item .btn {
  z-index: 8;
}

.prod-list .prod-block .discount-tips {
  padding: 20rpx 0 10rpx 20rpx;
  height: 40rpx;
  line-height: 40rpx;
  border-top: 1rpx solid #f2f2f2;
}

.prod-list .prod-block .discount-tips .text-block {
  padding: 3rpx 5rpx;
  border-radius: 8rpx;
  font-size: 23rpx;
  background: #ff6d13;
  color: #fff;
  position: relative;
}
.prod-list .prod-block .discount-tips .text-block::before {
  position: absolute;
  left: 5px;
  bottom: -4px;
  content: '';
  display: block;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #ff6d13;
}

.prod-list .prod-block .discount-tips .text-list {
  font-size: 26rpx;
  margin-left: 10rpx;
}
.prod-list .prod-block .discount-tips .text-list.reduce-amount {
  font-size: 24rpx;
  margin-left: 20rpx;
  color: #ff6d13;
}

.prod-list .item {
  background: #fff;
  display: flex;
  align-items: center;
  border-top: 1rpx solid #f2f2f2;
}

.prod-list .discount .item {
  border: 0;
}

.prod-list .item .prodinfo {
  position: relative;
  color: #999;
  flex: 1;
  display: flex;
  align-items: center;
}

.prod-list .item .prodinfo::after {
  content: '';
  background-color: #f4f4f4;
  left: 0;
  height: 1px;
  transform-origin: 50% 100% 0;
  bottom: -20rpx;
  position: absolute;
  display: block;
  width: 642rpx;
  padding-left: 20rpx;
}

.prod-list .item:last-child .prodinfo::after {
  height: 0;
}

.prod-list .item .staus {
  text-align: center;
  background: rgb(196, 192, 192);
  font-size: 20rpx;
  width: 50rpx;
  color: #fff;
}

.prod-list .item .opt {
  font-size: 28rpx;
  margin-left: 20rpx;
  width: 460rpx;
}

.prod-center-row {
  /* display: flex;
  flex-direction: column; */
}

.prodinfo .opt .prod-name {
  color: #333;
  max-height: 72rpx;
  line-height: 36rpx;
  display: -webkit-box;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.prodinfo .opt .prod-discount {
  color: #ff6d13;
  display: block;
  font-size: 24rpx;
}

.prodinfo .opt .prod-discount .prod-discount-tit {
  position: relative;
  padding: 10rpx 40rpx 10rpx 10rpx;
  background: #fdf1f2;
  border-radius: 8rpx;
  max-width: 240rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.prodinfo .opt .prod-discount .prod-discount-tit::after {
  content: '';
  width: 12rpx;
  height: 12rpx;
  border: solid #ff6d13;
  border-width: 1rpx 0 0 1rpx;
  transform: translate(-50%, -50%) rotate(225deg);
  position: absolute;
  right: 10rpx;
  top: 20rpx;
}

.prod-info-text {
  font-size: 24rpx;
  font-family: arial;
  position: relative;
  padding: 10rpx 50rpx 10rpx 10rpx;
  background: #f9f9f9;
  border-radius: 8rpx;
  max-width: 240rpx;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  word-break: keep-all;
}

.prodinfo .opt .prod-info-text::after {
  content: '';
  width: 10rpx;
  height: 10rpx;
  border: solid #999;
  border-width: 1rpx 0 0 1rpx;
  transform: translate(-50%, -50%) rotate(225deg);
  position: absolute;
  right: 10rpx;
  top: 22rpx;
}

.prodinfo .opt .prod-info-text.empty-n {
  padding: 0;
}

.prod-info-text:before {
  border-top: 5px solid #aaa;
}

.prod-info-text:after {
  border-top: 5px solid #f9f9f9;
  top: 9px;
}

.prod-list .item .prodinfo .pic {
  text-align: center;
  //line-height: 180rpx;
  width: 174rpx;
  height: 174rpx;
  border-radius: 23rpx;
  overflow: hidden;
}

.prod-list .item .pic image {
  max-width: 100%;
  max-height: 100%;
  /* border-radius: 8rpx; */
  vertical-align: middle;
}

.prodinfo .opt .price-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lose-efficacy .prodinfo .opt .price-count .price {
  color: #999;
}

/* 加减框 */

.m-numSelector .minus,
.m-numSelector input,
.m-numSelector .plus {
  float: left;
  box-sizing: border-box;
  height: 56rpx;
}

.m-numSelector {
  float: right;
  .backf5 {
    background: #f5f5f5;
    border-radius: 9rpx 9rpx 9rpx 9rpx;
    font-size: 24rpx;
    color: #3d3d3d;
    height: 44rpx;
    position: relative;
    top: 5rpx;
  }
}

.m-numSelector .minus,
.m-numSelector .plus {
  position: relative;
  width: 56rpx;
}

.m-numSelector .minus {
  border-right: 0;
  border-top-left-radius: 4rpx;
  border-bottom-left-radius: 4rpx;
}

.m-numSelector input {
  width: 56rpx;
  text-align: center;
  color: #333;
}

.m-numSelector .plus {
  border-left: 0;
  border-top-right-radius: 4rpx;
  border-bottom-right-radius: 4rpx;
}

.m-numSelector .minus::before,
.m-numSelector .plus::before,
.m-numSelector .plus::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: ' ';
  width: 22rpx;
  height: 3rpx;
  background-color: #7f7f7f;
}

.m-numSelector .plus::after {
  transform: rotate(90deg);
}

.m-numSelector:not(.disabled) .minus:not(.disabled):active,
.m-numSelector:not(.disabled) .plus:not(.disabled):active {
  background-color: #f4f4f4;
}

/*checkbox 选项框大小  */

checkbox .wx-checkbox-input {
  border-radius: 50%;
  width: 32rpx;
  height: 32rpx;
}

/*checkbox选中后样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  background: #ff6d13;
  border-color: #ff6d13;
}

/*checkbox选中后图标样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  text-align: center;
  font-size: 20rpx;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
}
/* 购物车为空 */

.empty {
  font-size: 28rpx;
  color: #666;
}

.empty .txt {
  text-align: center;
  margin-top: 30rpx;
}

.empty .img {
  margin-top: 80rpx;
  text-align: center;
}

.empty .img image {
  width: 80rpx;
  height: 80rpx;
}

/** 底部按钮 */

.cart-footer {
  position: fixed;
  bottom: calc(var(--window-bottom));
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row nowrap;
  height: 110rpx;
  border-top: 2rpx solid #f4f4f4;
  z-index: 99;
  background: #fff;
  padding: 0 10rpx;
  box-sizing: border-box;
  .clal_ad {
    color: #adadad;
  }
}

.cart-footer .btn {
  position: relative;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  width: 0;
  background-color: #fafafa;
  background: rgba(255, 255, 255, 0.95);
  font-size: 28rpx;
  padding-right: 10rpx;
  box-sizing: border-box;
}

.cart-footer .btn .total-con {
  display: inline-block;
}
.cart-footer .btn .total-con .finally {
  text-align: center;
}

.cart-footer .btn .total-msg {
  font-size: 23rpx;
  text-align: center;
}

.blod {
  font-weight: 400;
  font-size: 24rpx;
  color: #3d3d3d;
}
.cart-footer .btn .arrow-icon {
  display: inline-block;
  width: 40rpx;
  height: 20rpx;
  margin-left: 10rpx;
}
.cart-footer .btn .arrow-icon image {
  display: block;
  width: 100%;
  height: 100%;
}

.cart-footer .btn.total {
  display: flex;
  /* flex-flow: column; */
  align-items: center;
}

.cart-footer .btn.del {
  color: #ff6d13;
  width: 70rpx;
  font-size: 26rpx;
  text-align: left;
  display: block;
  line-height: 102rpx;
}

.cart-footer .btn.all {
  width: 150rpx;
  font-size: 26rpx;
}

.cart-footer .btn.all label {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
}

.cart-footer .btn.total {
  width: 264rpx;
  text-align: right;
}

.cart-footer .btn.total .price {
  color: rgb(243, 25, 30);
  font-size: 30rpx;
}

.cart-footer .btn.settle {
  width: 180rpx;
  color: #fff;
  background: linear-gradient(90deg, #ff4515 0%, #ff9610 100%);
  border-radius: 40rpx 40rpx 40rpx 40rpx;
  height: 2.8em;
  margin-right: 12rpx;
}

/** end 底部按钮 */

/* 满减活动弹框 */

/*模态框*/

.modals {
  position: fixed;
  z-index: 1999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.modals-bottom-dialog {
  position: fixed;
  z-index: 98;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.select-distribution {
  z-index: 100;
}

.modals-cancel {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.bottom-dialog-body {
  position: absolute;
  z-index: 10001;
  bottom: calc(var(--window-bottom) + 100rpx);
  left: 0;
  right: 0;
  height: 500rpx;
  background-color: #fff;
}
.bottom-dialog-box {
  position: absolute;
  z-index: 10001;
  bottom: 200rpx;
  left: 0;
  right: 0;
  height: 500rpx;
  background-color: #fff;
}

.radius {
  border-radius: 20rpx 20rpx 0 0;
}

.select-distribution .bottom-dialog-box {
  position: absolute;
  z-index: 10001;
  left: 0;
  right: 0;
  bottom: 50px;
  height: 65%;
  background-color: #fff;
  overflow: auto;
}

/*动画前初始位置*/
.bottom-pos {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.discount-title {
  font-size: 30rpx;
  margin-bottom: 20rpx;
  padding: 26rpx;
  background: #f1f1f1;
  text-align: center;
  position: relative;
}

.radio-group {
  display: block;
  width: 100%;
  height: 350rpx;
  overflow-y: auto;
  padding: 0 20rpx;
  box-sizing: border-box;
}

.radio-item {
  display: flex;
  width: 100%;
  margin-bottom: 20rpx;
}
.radio-item .radio-text {
  font-size: 28rpx;
  word-break: break-all;
  max-width: 100%;
}

radio {
  font-size: 28rpx;
}

radio .wx-radio-input {
  height: 30rpx;
  width: 30rpx;
  text-align: left;
}
/* 选中后的 背景样式 （红色背景 无边框 可根据UI需求自己修改） */
radio .wx-radio-input.wx-radio-input-checked {
  height: 32rpx;
  width: 32rpx;
  border: none;
  background: red;
}

/* 购物车为空 */
.empty {
  margin-top: 100rpx;
  text-align: cneter;
}
.empty-icon {
  display: block;
  width: 100rpx;
  height: 100rpx;
  margin: 0 auto;
  margin-bottom: 20rpx;
}
.empty-icon > image {
  width: 100%;
  height: 100%;
}
.empty-text {
  font-size: 28rpx;
  text-align: center;
  color: #999;
  line-height: 2em;
}

/* 金额明细 */
.price-detail {
  max-height: 220rpx;
  overflow-y: scroll;
  padding: 10rpx 20rpx;
}
.price-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3em;
  font-size: 28rpx;
  border-bottom: 1px solid #f2f2f2;
}
.price-detail-item:last-child {
  border: 0;
}
.det-num {
  //color: #ff6d13;
  color: rgb(243, 25, 30);
}

/* 商品配送方式选择 */
.distribution-prods {
  padding: 0 30rpx 30rpx;
  background: #fff;
}

.distribution-prods .des {
  color: #999;
  font-size: 24rpx;
  margin-top: 30rpx;
}

.distribution-prods .p-item {
  margin-top: 30rpx;
  background: #f9f9f9;
  border-radius: 10rpx;
  padding: 30rpx;
}

.distribution-prods .p-item .p-tit {
  font-size: 28rpx;
  font-weight: 600;
}

.distribution-prods .p-item .p-con {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20rpx 0;
}

.distribution-prods .p-item .p-con .prods-item {
  max-width: 480rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 28rpx;
}

.distribution-prods .p-item .p-con .prods-item .pic {
  width: 174rpx;
  height: 174rpx;
  border-radius: 23rpx 23rpx 23rpx 23rpx;
  margin-right: 20rpx;
  display: inline-block;
}

.distribution-prods .p-item .p-con .prods-item .pic image {
  width: 100%;
  height: 100%;
}

.distribution-prods .p-item .p-con .p-btn {
  background: #ff6d13;
  padding: 8rpx 30rpx;
  color: #fff;
  font-size: 24rpx;
  border-radius: 40rpx;
}

.distribution-prods .p-item .p-total {
  display: flex;
  align-items: baseline;
  font-size: 24rpx;
}

.distribution-prods .p-item .p-total .num {
  color: #ff6d13;
  font-family: arial;
}

@media screen and (min-height: 667px) and (max-height: 768px) {
  .cart-footer {
    position: fixed;
    bottom: calc(92rpx + env(safe-area-inset-bottom));
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row nowrap;
    height: 110rpx;
    border-top: 2rpx solid #f4f4f4;
    z-index: 99;
    background: #fff;
    padding: 0 10rpx;
    box-sizing: border-box;
  }
}

/* #ifdef APP-PLUS || MP-WEIXIN */
.cart-footer {
  bottom: 0;
}

.select-distribution .bottom-dialog-box {
  bottom: 0;
}
.pri-modal .bottom-dialog-box {
  bottom: 90rpx;
}
/* .bottom-dialog-body{
	bottom: 0;
} */
/* #endif */

/* radio {
  transform: scale(0.8);
} */
